#! /bin/bash
openssl x509 -req -days 365 \
-in server.csr -signkey private_key.pem -out server.crt

openssl pkcs12 -export \
-passin pass:123456 -passout pass:123456 \
-inkey private_key_enc.pem -in server.crt -out winsslcer.p12
